home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo . Installing HAPPY BUTTON for Windows95
- echo .
- echo . COMPATIBILITY TEST - Please note the size of the file displayed below
- echo .
- echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- dir %winbootdir%\system\user.exe
- echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- echo .
- choice /c:YN /n ". Does the size of the file listed amount to 462,112 bytes ? "
- if errorlevel 2 goto DIFF
- if errorlevel 1 goto YES
- :DIFF
- echo .
- echo . NO ! Installation Halted
- echo .
- echo . Your installation of Windows95 may not be compatible with
- echo . HappyButton. If you proceed with the installation, Windows may
- echo . behave unpredictably or fail to load at all. If this happens, you
- echo . may still uninstall HappyButton by running UNINSTAL from Windows OR
- echo . by running UNHAPPY in MS-DOS mode.
- echo .
- choice /c:YN /n ". Proceed with installation despite this warning ? "
- if errorlevel 2 goto NO
- if errorlevel 1 goto YES
- :NO
- echo .
- echo . NO ! Installation ABORTED
- echo .
- echo . All is not lost ! If you STILL strongly desire to change the icon
- echo . on your Windows95 START button, you can just ASK how to do it.
- echo .
- echo . e-mail : spot@null.net
- echo . WWW : http://www.geocities.com/Athens/6508/
- echo .
- choice /c:X /n ". Press X to Return to Windows95"
- goto END
- :YES
- echo .
- echo . YES ! Installing HappyButton
- echo .
- echo . Backup of %winbootdir%\SYSTEM\USER.EXE as USER_EXE.BAK
- copy %winbootdir%\system\user.exe %winbootdir%\system\user_exe.bak /y >nul
- echo .
- echo . Copying USER.EX_ to %winbootdir%\SYSTEM\USER.EXE
- copy user.ex_ %winbootdir%\system\user.exe /y >nul
- echo .
- echo . DONE ! Restarting Windows95
- :END
- echo .
-